package com.ruoyi.eqmonitor.smdtv.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.eqmonitor.smdtv.domain.Smregister;
import com.ruoyi.eqmonitor.smdtv.vo.SmregisterVo;
import com.ruoyi.eqmonitor.smdtv.vo.SumVo;

import java.util.List;
import java.util.Map;

/**
 * @author YR
 * @description 针对表【smregister】的数据库操作Service
 * @createDate 2022-12-06 12:01:16
 */
public interface SmregisterService extends IService<Smregister> {

    List<SmregisterVo> getAll();

    List<Map<String,Object>> getSmdtv(String smtablename, String name);

    List<SumVo> getSum(String name);

    //统计总数
    Integer selectCount(String tableName,String whereSQL);

}
